package com.machine.dao.user;

import java.util.List;

import com.machine.bean.BuyComponent;

public interface BuyComponentDao {
	public int addBuyCom(BuyComponent buyComponent);
	public int getAllRowCount(String hql);
	public List queryForPage(final String hql, final int offset, final int length);
	public int deleteByIdList(List<Integer> idList);
	public BuyComponent findById(Integer id);
	public int update(BuyComponent buyComponent);

}
